from . import views
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('user', views.UserLoginView, 'user')
router.register('register', views.UserRegisterView, 'register')
router.register('detail', views.UserView, 'detail')
router.register('gender', views.UserGenderView, 'gender')
router.register('title', views.UserUpdateView, 'title')
router.register('signature', views.UserSignatureView, 'signature')
router.register('phone', views.PhoneView, 'phone')
router.register('update_phone', views.UserPhoneView, 'update_phone')
router.register('update_password', views.PasswordView, 'update_password')
urlpatterns = [
]
urlpatterns += router.urls
